#!/usr/bin/env python3
# -*- coding: utf-8 -*-

""" 文件描述内容 """

__auther__ = 'igofishing'


import numpy as np

b = np.array([[1, 2, 5, 6, 23],
              [23, 45.6345346456, 2, 45, 4]], dtype=np.int32)

print(b)
print('dim:', b.ndim)
print('shape', b.shape)
print('size', b.size)
print(b.dtype)

print('-------------------------------')

c = np.ones((4, 3), dtype=int)

print(c)
print(c.shape)


print('-------------------------------')


d = np.arange(1, 100, 3)

print(d)
print(d.shape)

print('-------------------------------')

e = np.arange(12).reshape((4, 3))
print(e)


print('-------------------------------')

f = np.linspace(0, 10, 24).reshape(3, 8)
print(f)
